package com.multidb.configdemo.dao.user;


import com.multidb.configdemo.entity.user.User;
import org.springframework.stereotype.Repository;

@Repository
public interface UserDao {

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}